package com.dhecp.core.vo;

import java.util.HashMap;

import org.springframework.web.servlet.ModelAndView;

public class W extends HashMap<String, Object> {
    private static final long serialVersionUID = 1L;

    public static ModelAndView error(ModelAndView mv, String errormsg) {
    	mv.addObject("errormsg", errormsg);
        mv.setViewName("common/error");
		return mv;
    }
}
